package com.devshephard.springcloud.service.impl;

import com.devshephard.springcloud.service.PaymentService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;


@Service
@Component
public class PaymentFallbackServiceImpl implements PaymentService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK , (┬＿┬)";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return null;
    }

    @Override
    public String paymentInfoHystrixCommond_TimeOut(Integer id) {
        return null;
    }

    @Override
    public String paymentInfoHystrixCommond_Error(Integer id) {
        return null;
    }

}
